// import Cookies from 'js-cookie'

// const TokenKey = 'token

export function getToken() {
  // return Cookies.get(TokenKey)
  // console.log('当前登录的token为=', localStorage.getItem("token"))
  return localStorage.getItem("token");
}

export function setToken(token) {
  // return Cookies.set(TokenKey, token)
  return localStorage.setItem('token',token);
}

export function removeToken() {
  // return Cookies.remove(TokenKey)
  return localStorage.removeItem('token');
}
